API Documentation
Public Member Functions | List of all members
nkGraphics::ObjMeshDecoder Class Referencefinal

A decoder that can handle obj files. More...

Inheritance diagram for nkGraphics::ObjMeshDecoder:
nkGraphics::MeshDecoder

Public Member Functions

 ObjMeshDecoder ()
 
 ~ObjMeshDecoder ()
 
virtual bool canDecode (const std::string_view &sources) override
 
virtual bool decode (const std::string_view &sources, Mesh *outMesh) override
 
- Public Member Functions inherited from nkGraphics::MeshDecoder
 MeshDecoder ()
 
virtual ~MeshDecoder ()
 

Detailed Description

A decoder that can handle obj files.

Constructor & Destructor Documentation

◆ ObjMeshDecoder()

nkGraphics::ObjMeshDecoder::ObjMeshDecoder ( )

Constructor.

◆ ~ObjMeshDecoder()

nkGraphics::ObjMeshDecoder::~ObjMeshDecoder ( )

Destructor.

Member Function Documentation

◆ canDecode()

virtual bool nkGraphics::ObjMeshDecoder::canDecode ( const std::string_view &  sources)
overridevirtual

◆ decode()

virtual bool nkGraphics::ObjMeshDecoder::decode ( const std::string_view &  sources,
Mesh outMesh 
)
overridevirtual

The documentation for this class was generated from the following file: